
#include<iostream>


class Base
{
public:
    void show()
    {
        std::cout<<"Base"<<std::endl;
    }
private:

};

class Derived:public Base
{
public:
    void show()
    {
        std::cout<<"Derived"<<std::endl;
    }
private:
};


int main ()
{
    Base *b = new Derived;
    b->show();
    return 0;
}